package com.itlong.cloud.project.sdk;

import com.itlong.cloud.POJO.DTO.sdk.CloudElevatorSDKServerSetUrlDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <desc>
 *      云电梯SDK项目服务暴露接口
 * <desc/>
 *
 * @createDate 2018/12/27
 */
@FeignClient(name = "project-service")
public interface ICloudElevatorSDKServerProjectServiceClient {

    /**
     * <desc>
     *      设置信息变更路由和状态上报路由
     * </desc>
     *
     * @return
     * @author Juguang.S
     * @createDate 2018/12/27
     */
    @PostMapping(path = "/cloudElevatorSDK/server/setUrl")
    Integer setUrl(@RequestBody CloudElevatorSDKServerSetUrlDTO cloudElevatorSDKServerSetUrlDTO);
}
